package com.example.demo.config;

import org.springframework.messaging.simp.stomp.StompHeaders;
import org.springframework.messaging.simp.stomp.StompSession;
import org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter;

/**
 * Created by 豆腐干Sama on 2018/5/21.
 */
public class CommentStompSessionHandler extends StompSessionHandlerAdapter{
    @Override
    public void afterConnected(StompSession session, StompHeaders connectedHeaders) {
//        super.afterConnected(session, connectedHeaders);
        System.out.println("connected");
    }
}
